import QtQuick 2.14
import QtQuick.Window 2.14
import QtQuick.Layouts 1.12
import QtQuick.Controls 2.14
import QtQuick.Controls.Material 2.12

import "qrc:/_context/CusCheckBox"
import "qrc:/_context/CusButton"
import "qrc:/_context/Basic"

// 通导设备
/*
    select * from hldkeymap where KeyValue >= 1103000 and KeyValue <= 1103010;

    1. GPS                             1101000
    2. AIS                             1102000(周围船)      1103000(本船)
    3. EchoSounder(回声测深仪)           1104000
    4. GYRO(罗经)                       1105000
    5. Anemometer(风速风向仪)            1106000
    6. SpeedLog(计程仪)                 1107000       1114000

    7. Rudder(舵角)                     1113000



    流量计
    轴功率仪
    电子倾斜仪

    惯导
*/

Item{
    ColumnLayout {
        anchors.fill: parent
        anchors.rightMargin: 60
        anchors.topMargin: 25
        anchors.bottomMargin: 50
        anchors.leftMargin: 60

        spacing: 20;

        YaheiText{
            text: "七大航海仪器：";
            color: "pink";
            font.bold: true;
            font.pixelSize: 24;
        }

        Flow{
            width: parent.width;
            spacing: 10;

            CusCheckBox{
                font.pixelSize: 16;
                text: " GPS（全球定位系统）"
            }

            CusCheckBox{
                font.pixelSize: 16;
                text: " AIS（船舶自动识别系统）"
            }

            CusCheckBox{
                font.pixelSize: 16;
                text: " EchoSounder（回声测深仪）"
            }
            CusCheckBox{
                font.pixelSize: 16;
                text: " GYRO（罗经）"
            }

            CusCheckBox{
                font.pixelSize: 16;
                text: " Anemometer（风速风向仪）"
            }
            CusCheckBox{
                font.pixelSize: 16;
                text: " SpeedLog（计程仪）"
            }

            CusCheckBox{
                font.pixelSize: 16;
                text: " Rudder（舵角）"
            }
        }

        // 分割线
        Rectangle {
            height: 1
            color: tingeOpacityColor
            Layout.fillWidth: true
        }

        CusButton{
            text: "配置";
            width: 240;
        }

    }

}
